package cn.biao.epic.sys.modular.consts.mapper;

import cn.biao.epic.sys.modular.consts.entity.EpicConfig;
import cn.biao.epic.sys.modular.consts.model.params.ConfigParam;
import cn.biao.epic.sys.modular.consts.model.result.ConfigResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther Uncle_Z
 * @date 2019/12/17 10:41
 * @Email:2545375@qq.com
 * @Descrition
 */
public interface EpicConfigMapper extends BaseMapper<EpicConfig> {


    /**
     * 
     * 获取列表
     *
     * @author uncle_z
     * @Date 2019/12/17 11:09
     * @Param [paramCondition]
     * @File EpicConfigMapper.java 
     */
    List<ConfigResult> customList(@Param("paramCondition")ConfigParam paramCondition);

    /**
     * 获取map列表
     *
     * @author uncle_z
     * @Date 2019/12/17 11:12
     * @Param [paramCondition]
     * @File EpicConfigMapper.java
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ConfigParam paramCondition);

    /**
     * 
     * 获取分页实体列表
     *
     * @author uncle_z
     * @Date 2019/12/17 11:14
     * @Param [page, paramCondition]
     * @File EpicConfigMapper.java 
     */
    Page<ConfigResult> customPageList(@Param("page") Page page,@Param("paramCondition") ConfigParam paramCondition);

    /**
     * 
     * 获取分页map列表
     *
     * @author uncle_z
     * @Date 2019/12/17 11:16
     * @Param [page, paramCondition]
     * @File EpicConfigMapper.java 
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ConfigParam paramCondition);
    
}
